<script type="text/javascript">
 $(document).ready(function(){
	$("#link_cadastrar").click(function(event){	   
		$.ajax({
		   contentType: 'application/html',
		   type: "POST",
		   url: "/content/register_html/",
		   dataType: 'html',
		   success: function(resp) {
						var html_source = resp;	
						//alert(html_source);
						$("#middle_content").html("<div class=\"main-content\">"+html_source+"</div>");
						return;	
					},
			error: function() {
				$("#erro_dialog_cadastrar").dialog({ resizable: false });
			},
		 });
   });
	$("#link_login").click(function(event){	   
		$.ajax({
		   contentType: 'application/html',
		   type: "POST",
		   url: "/login/",
		   dataType: 'html',
		   success: function(resp) {
						var html_source = resp;	
						//alert(html_source);
						$("#middle_content").html("<div class=\"main-content\">"+html_source+"</div>");
						return;	
					},
			error: function() {
				$("#erro_dialog_cadastrar").dialog({ resizable: false });
			},
		 });
   });  
	$("#link_home").click(function(event){	   
		$.ajax({
		   contentType: 'application/html',
		   type: "POST",
		   url: "/home/",
		   dataType: 'html',
		   success: function(resp) {
						var html_source = resp;	
						//alert(html_source);
						$("#middle_content").html(html_source);
						return;	
					},
			error: function() {
				$("#erro_dialog_cadastrar").dialog({ resizable: false });
			},
		 });
   });     
});   
</script>
<div class="header-bottom">
        <!-- Navigation Level 2 (Drop-down menus) -->
        <div class="nav2">
          <!-- Navigation item -->
          <ul>
            <li><a style="cursor:pointer" id="link_cadastrar">Assinar</a></li>
          </ul>
          <!-- Navigation item -->
          <ul>
            <li><a href="#"id="link_login">Login</a>
            </li>
          </ul>
          <!-- Navigation item -->
          <ul>
            <li><a href="#"id="link_home">Planos</a>
            </li>
          </ul>          
        </div>
</div>